package com.moomi.common.model;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import com.xhc.common.model.XhcAdv;
import com.xhc.common.model.XhcArticle;
import com.xhc.common.model.XhcEnroll;
import com.xhc.common.model.XhcGroup;
import com.xhc.common.model.XhcOrder;
import com.xhc.common.model.XhcPresent;
import com.xhc.common.model.XhcTicket;
import com.xhc.common.model.XhcTicketPrice;
import com.xhc.common.model.XhcUserPresent;
import com.xhc.common.model.XhcUserTicket;
import com.xhc.common.model.XhcWechat;

/**
 * Generated by JFinal, do not modify this file.
 * 
 * <pre>
 * Example:
 * public void configPlugin(Plugins me) {
 *     ActiveRecordPlugin arp = new ActiveRecordPlugin(...);
 *     _MappingKit.mapping(arp);
 *     me.add(arp);
 * }
 * </pre>
 */
public class _MappingKit {

	public static void mapping(ActiveRecordPlugin arp) {
		arp.addMapping("bk_adv", "id", BkAdv.class);
		arp.addMapping("bk_app", "id", BkApp.class);
		arp.addMapping("bk_booking", "id", BkBooking.class);
		arp.addMapping("bk_branch_office", "id", BkBranchOffice.class);
		arp.addMapping("bk_item", "id", BkItem.class);
		arp.addMapping("bk_item_selection", "id", BkItemSelection.class);
		arp.addMapping("bk_order", "id", BkOrder.class);
		arp.addMapping("bk_selection", "id", BkSelection.class);
		arp.addMapping("bk_selection_off", "id", BkSelectionOff.class);
		arp.addMapping("bk_shop", "id", BkShop.class);
		arp.addMapping("bk_user", "id", BkUser.class);
		arp.addMapping("bk_user_shop", "id", BkUserShop.class);
		arp.addMapping("bk_wechat", "id", BkWechat.class);
		arp.addMapping("bn_adv", "id", BnAdv.class);
		arp.addMapping("bn_answer", "id", BnAnswer.class);
		arp.addMapping("bn_center", "id", BnCenter.class);
		arp.addMapping("bn_comment", "id", BnComment.class);
		arp.addMapping("bn_coupon", "id", BnCoupon.class);
		arp.addMapping("bn_dormitory", "id", BnDormitory.class);
		arp.addMapping("bn_information", "id", BnInformation.class);
		arp.addMapping("bn_login", "id", BnLogin.class);
		arp.addMapping("bn_love", "id", BnLove.class);
		arp.addMapping("bn_love_dormitory", "id", BnLoveDormitory.class);
		arp.addMapping("bn_love_msg", "id", BnLoveMsg.class);
		arp.addMapping("bn_moment", "id", BnMoment.class);
		arp.addMapping("bn_msg", "id", BnMsg.class);
		arp.addMapping("bn_nofitication", "id", BnNofitication.class);
		arp.addMapping("bn_operation", "id", BnOperation.class);
		arp.addMapping("bn_question", "id", BnQuestion.class);
		arp.addMapping("bn_question_answer", "id", BnQuestionAnswer.class);
		arp.addMapping("bn_sale_comment", "id", BnSaleComment.class);
		arp.addMapping("bn_sale_product", "id", BnSaleProduct.class);
		arp.addMapping("bn_sale_product_tag", "id", BnSaleProductTag.class);
		arp.addMapping("bn_suggest", "id", BnSuggest.class);
		// Composite Primary Key order: model,refId,type,userId
		arp.addMapping("bn_tag", "model,refId,type,userId", BnTag.class);
		arp.addMapping("bn_user", "id", BnUser.class);
		// Composite Primary Key order: couponId,userId
		arp.addMapping("bn_user_coupon", "couponId,userId", BnUserCoupon.class);
		arp.addMapping("bnu_comment", "id", BnuComment.class);
		arp.addMapping("cd_address", "id", CdAddress.class);
		arp.addMapping("cd_adv", "id", CdAdv.class);
		arp.addMapping("cd_card", "id", CdCard.class);
		arp.addMapping("cd_cart", "id", CdCart.class);
		arp.addMapping("cd_order", "id", CdOrder.class);
		arp.addMapping("cd_shop", "id", CdShop.class);
		arp.addMapping("cd_shop_operator", "id", CdShopOperator.class);
		arp.addMapping("ep_adv", "id", EpAdv.class);
		arp.addMapping("ep_location", "id", EpLocation.class);
		arp.addMapping("ep_uuid", "id", EpUuid.class);
		arp.addMapping("yc_app", "id", YcApp.class);
		arp.addMapping("yc_game", "id", YcGame.class);
		arp.addMapping("yc_prize", "id", YcPrize.class);
		arp.addMapping("yc_prize_item", "id", YcPrizeItem.class);
		arp.addMapping("yc_sign", "id", YcSign.class);
		arp.addMapping("yc_user", "id", YcUser.class);
		arp.addMapping("yc_user_bag", "id", YcUserBag.class);
		arp.addMapping("yc_wechat", "id", YcWechat.class);
	}
}
